home *** CD-ROM | disk | FTP | other *** search
- Path: airdmhor.gen.nz!not-for-mail
- From: brage@airdmhor.gen.nz (Aaron Hicks)
- Newsgroups: comp.lang.c++
- Subject: Profiling G++ in Linux.
- Date: 14 Feb 1996 22:37:47 +1300
- Organization: Airdmhor : a couple of BBS's, a bunch of people, and a cat.
- Message-ID: <4fsahc$6kk@airdmhor.gen.nz>
- NNTP-Posting-Host: airdmhor.gen.nz
- X-Newsreader: TIN [version 1.2 PL2]
-
- [ Article crossposted from gnu.g++.help ]
- [ Author was Aaron Hicks ]
- [ Posted on 14 Feb 1996 22:36:12 +1300 ]
-
- Ok, so I've written a program in C++, it works but slowly, so I try to
- profile it, and well, it doesn't profile. g++ fails to produce the required
- gmon.out file required for gprof to work, it works just fine when I compile
- ordinary C code with gcc.
-
- I'm using the Nov '95 release of Linux and gcc, and the g++ command used for
- compiling looks like this,
-
- g++ -lvga -lvgagl -pg -O3 myprog.cc
-
- Is this a bug?
-
-
- --
- #############################################################################
- # A message from Bloodrage at Airdmhor (brage@airdmhor.gen.nz) the home of #
- # MegaBBS and The Realms of Insanity BBS. Agony or ecstacy, neither bore me #
- #############################################################################
-